import request from '@/utils/request'

// 查询商品综合监控列表
export function synData(query) {
  return request({
    url: '/sale/BiPurInvMonitor/synData',
    method: 'get',
    params: query
  })
}
// 查询商品综合监控列表
export function listBiPurInvMonitor(query) {
  return request({
    url: '/sale/BiPurInvMonitor/selectPurInvMonitor',
    method: 'get',
    params: query
  })
}
// 查询商品综合监控详细
export function getBiPurInvMonitor(id) {
  return request({
    url: '/sale/BiPurInvMonitor/' + id,
    method: 'get'
  })
}

// 新增商品综合监控
export function addBiPurInvMonitor(data) {
  return request({
    url: '/sale/BiPurInvMonitor',
    method: 'post',
    data: data
  })
}

// 修改商品综合监控
export function updateBiPurInvMonitor(data) {
  return request({
    url: '/sale/BiPurInvMonitor',
    method: 'put',
    data: data
  })
}

// 删除商品综合监控
export function delBiPurInvMonitor(id) {
  return request({
    url: '/sale/BiPurInvMonitor/' + id,
    method: 'delete'
  })
}
